import java.util.Random;
import java.util.Scanner;
import java.text.DecimalFormat;
public class phonenumber{
	
	public static void main(String[] args){
		Random in = new Random();
		int num1,num2,num3,num4,num5;
		DecimalFormat fmt = new DecimalFormat("000");
		DecimalFormat fmtx = new DecimalFormat("0000");
		num1 = in.nextInt(7) + 1;
		num2 = in.nextInt(8);
		num3 = in.nextInt(8);
		num4 = in.nextInt(1000);
		num5 = in.nextInt(10000);
		System.out.println("PHONENUMBER:"+ num1+num2+num3+"-"+fmt.format(num4)+"-"+fmtx.format(num5));
	}
}

		
		

